package com.atguigu.gulimall.order.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author 小坏
 * @Date 2020/12/25 11:05
 * @Version 1.0
 * @program: 父工程 gulimall 万物起源之地
 *
 *
 * 动态配置MyThreadConfig 的参数
 */

@ConfigurationProperties(prefix = "hxx.thread")
@Component
@Data
public class ThreadPoolConfigProperties {

    private Integer corePoolSize;
    private Integer maximumPoolSize;
    private Integer keepAliveTime;
}
